package com.zhousb.deviceManager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhousb.deviceManager.model.dto.ProductSaveQtyDto;
import com.zhousb.deviceManager.model.entity.ImProduct;
import com.zhousb.deviceManager.model.vo.ProductSimpleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ImProductMapper extends BaseMapper<ImProduct> {
    List<ProductSimpleVo> listProductSimpleData(@Param("orderId")Long orderId);
    List<ProductSimpleVo> listAllProductSimpleData(@Param("orderIds")List<String> orderIds);

    List<ProductSaveQtyDto> listSaveProductQty();

}
